package oop.packaging.different;

import oop.packaging.same.DecorateSymbol;

public class DS_diffPackageDiffClass_sub extends DecorateSymbol {

    public static void main(String[] args) {
        DS_diffPackageDiffClass_sub sub = new DS_diffPackageDiffClass_sub();
        //不同包子类，允许使用public和protected
        System.out.println(sub.name_pub);
        System.out.println(sub.name_pro);

//        System.out.println(sub.name_def);
//        System.out.println(sub.name_pri);

    }

}
